<?php
class Mwc_SystemPoint_Block_Membership_Edit extends Mage_Adminhtml_Block_Widget_Form_Container{
    public function __construct(){
        parent::__construct();

        $this->_blockGroup = 'systempoint';
        $this->_mode = 'edit';
        $this->_controller = 'membership';

        if( $this->getRequest()->getParam($this->_objectId) ) {
            $membership = Mage::getModel('systempoint/membership')
                ->load($this->getRequest()->getParam($this->_objectId));
            Mage::register('frozen_membership', $membership);
        }
    }

    public function getHeaderText(){
        return Mage::helper('systempoint')->__('Edit Membership');
    }
}